.class public Les/oz;
.super Les/nz;
.source "BlackRemoteViewHolder.java"


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/List<",
            "Les/qz;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0, p1, p2}, Les/nz;-><init>(Landroid/content/Context;Ljava/util/List;)V

    return-void
.end method

.method private b(I)Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Les/nz;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method


# virtual methods
.method public a(I)V
    .locals 3

    const v0, 0x7f090a08

    if-nez p1, :cond_0

    .line 32
    iget-object p1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const/16 v1, 0x8

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_1

    .line 33
    :cond_0
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const/4 v2, 0x0

    invoke-virtual {v1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    const/16 v1, 0x3e7

    if-le p1, v1, :cond_1

    const-string p1, "999+"

    goto :goto_0

    .line 34
    :cond_1
    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object p1

    .line 35
    :goto_0
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {v1, v0, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    :goto_1
    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/qz;",
            ">;)V"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget-object v1, p0, Les/nz;->b:Landroid/content/Context;

    invoke-virtual {p0, v1}, Les/nz;->a(Landroid/content/Context;)Landroid/app/PendingIntent;

    move-result-object v1

    const v2, 0x7f090a04

    invoke-virtual {v0, v2, v1}, Landroid/widget/RemoteViews;->setOnClickPendingIntent(ILandroid/app/PendingIntent;)V

    .line 2
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget-object v1, p0, Les/nz;->b:Landroid/content/Context;

    invoke-virtual {p0, v1}, Les/nz;->b(Landroid/content/Context;)Landroid/app/PendingIntent;

    move-result-object v1

    const v2, 0x7f090a0a

    invoke-virtual {v0, v2, v1}, Landroid/widget/RemoteViews;->setOnClickPendingIntent(ILandroid/app/PendingIntent;)V

    .line 3
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget-object v1, p0, Les/nz;->b:Landroid/content/Context;

    invoke-virtual {p0, v1}, Les/nz;->c(Landroid/content/Context;)Landroid/app/PendingIntent;

    move-result-object v1

    const v2, 0x7f090a1a

    invoke-virtual {v0, v2, v1}, Landroid/widget/RemoteViews;->setOnClickPendingIntent(ILandroid/app/PendingIntent;)V

    .line 4
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v1, 0x7f1100bb

    invoke-direct {p0, v1}, Les/oz;->b(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f090a05

    invoke-virtual {v0, v2, v1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 5
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v1, 0x7f110621

    invoke-direct {p0, v1}, Les/oz;->b(I)Ljava/lang/String;

    move-result-object v1

    const v2, 0x7f090a0b

    invoke-virtual {v0, v2, v1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    if-eqz p1, :cond_2

    .line 6
    invoke-interface {p1}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto/16 :goto_1

    :cond_0
    const/4 v0, 0x0

    .line 7
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/qz;

    .line 8
    iget-object v2, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v3, 0x7f090a10

    iget-object v4, v1, Les/qz;->b:Ljava/lang/String;

    invoke-virtual {v2, v3, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 9
    iget-object v2, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v3, 0x7f090a13

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, v1, Les/qz;->c:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v5, "/"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v6, v1, Les/qz;->d:Ljava/lang/String;

    invoke-virtual {v4, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 10
    iget-object v2, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v3, 0x7f090a11

    iget v4, v1, Les/qz;->f:I

    iget v6, v1, Les/qz;->e:I

    invoke-virtual {v2, v3, v4, v6, v0}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

    .line 11
    iget-object v2, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v3, 0x7f090a12

    iget-object v4, p0, Les/nz;->b:Landroid/content/Context;

    iget-object v6, v1, Les/qz;->a:Ljava/lang/String;

    .line 12
    invoke-virtual {p0, v4, v6}, Les/nz;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/app/PendingIntent;

    move-result-object v4

    .line 13
    invoke-virtual {v2, v3, v4}, Landroid/widget/RemoteViews;->setOnClickPendingIntent(ILandroid/app/PendingIntent;)V

    .line 14
    :try_start_0
    iget-object v2, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v3, 0x7f090a19

    const v4, 0x7f0809ae

    .line 15
    invoke-static {v4}, Les/fy;->a(I)Landroid/graphics/Bitmap;

    move-result-object v4

    .line 16
    invoke-virtual {v2, v3, v4}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v2

    .line 17
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    .line 18
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    const v3, 0x7f090a16

    const/4 v4, 0x1

    const/16 v6, 0x8

    const v7, 0x7f090a0f

    const v8, 0x7f090a17

    if-ne v2, v4, :cond_1

    .line 19
    iget-object p1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {p1, v8, v6}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 20
    iget-object p1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {p1, v3, v6}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 21
    iget-object p1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {p1, v7, v0}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 22
    iget-object p1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget v2, v1, Les/qz;->f:I

    iget v1, v1, Les/qz;->e:I

    invoke-virtual {p1, v7, v2, v1, v0}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

    goto :goto_1

    .line 23
    :cond_1
    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/qz;

    .line 24
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v2, 0x7f090a15

    iget-object v4, p1, Les/qz;->b:Ljava/lang/String;

    invoke-virtual {v1, v2, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 25
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    const v2, 0x7f090a18

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v9, p1, Les/qz;->c:Ljava/lang/String;

    invoke-virtual {v4, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, p1, Les/qz;->d:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v2, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 26
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget v2, p1, Les/qz;->f:I

    iget v4, p1, Les/qz;->e:I

    invoke-virtual {v1, v3, v2, v4, v0}, Landroid/widget/RemoteViews;->setProgressBar(IIIZ)V

    .line 27
    iget-object v1, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {v1, v8, v0}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 28
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    invoke-virtual {v0, v7, v6}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 29
    iget-object v0, p0, Les/nz;->a:Landroid/widget/RemoteViews;

    iget-object v1, p0, Les/nz;->b:Landroid/content/Context;

    iget-object p1, p1, Les/qz;->a:Ljava/lang/String;

    .line 30
    invoke-virtual {p0, v1, p1}, Les/nz;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/app/PendingIntent;

    move-result-object p1

    .line 31
    invoke-virtual {v0, v8, p1}, Landroid/widget/RemoteViews;->setOnClickPendingIntent(ILandroid/app/PendingIntent;)V

    :cond_2
    :goto_1
    return-void
.end method

.method public b()I
    .locals 1

    const v0, 0x7f0c02fe

    return v0
.end method
